﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WWX.Admin.IDAL;
using WWX.Dto;
using WWX.Dto.Search;
using WWX.Model;

namespace WWX.Admin.BLL
{
    public class DealBLL : BaseBLL<IDealDAL>
    {
        public List<DealAdminDto> GetPageList(DealAdminSearch search, int pageNo, int pageSize, out int total)
        {
            return this.dal.GetPageList(search, pageNo, pageSize, out total);
        }

        public void Add(Deal deal)
        {
            this.dal.Add(deal);
        }
    }
}
